Measurement of resistance through forced oscillations and continuous measurement of ventilation and inspiratory capacity during TM6